package com.lcc.lynx.base.system.controller;

import com.lcc.lynx.base.system.service.SysIconService;
import com.lcc.lynx.base.system.pojo.dv.SysIconDV;
import com.lcc.lynx.common.ResultVO;
import com.lcc.lynx.jdbc.IByIdController;
import com.lcc.lynx.security.annotation.Anonymous;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * 图标管理控制实现
 * @auth lcc
 * @date 2025-03-27
 */
@RestController
@AllArgsConstructor
@RequestMapping("/sys/icon")
public class SysIconController implements IByIdController<SysIconDV> {

    private SysIconService service;

    @Override
    @Anonymous
    public ResultVO<List<SysIconDV>> list(SysIconDV dto) {
        return IByIdController.super.list(dto);
    }

    @Override
    public SysIconService getService() {
       return service;
    }

}